import request from "@/utils/request.ts";
import type {SysResponse} from "@/api/commonType.ts";
import type {SysAuthToken} from "@/api/login/types.ts";

enum API {
  REFRESH_TOKEN = '/api/auth/refresh',
}


//token 刷新
export function refreshToken() {
  return request.get<string, SysResponse<SysAuthToken>>(API.REFRESH_TOKEN)
}
